package com.manager.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author zhou
 * @date 2021/07/12 21:11
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVo {
  private Long id;
  private String userName;
  private Integer sex;
  private String email;
  private String phone;
  private String ipaddr;
  private String avatar;
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Timestamp createdTime;
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Timestamp updateTime;
  private String token;
}
